home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Developer Source 8
/
developer source - volume 8.iso
/
msysj
/
jan96
/
pietf101.gif
< prev
next >
Tile
Graphics Interchange Format
|
1997-01-14
|
103.0 KB
|
826x298
|
4-bit (16 colors)
ocr:
Figure 1 Control Flow for Scenario 1 Thread 1 Thread 2 EnterCriticalSection(@critsect) Begin Threado Sleep(2000) Thread 1 blocks DLLMainO EnterCriticalSection(@critsect) Thread 2 blocks Sleep(2000) returns Thread 1 resumes LeaveCriticalSection(@scritsect) EnterCriticalsection( &eritsect) returns Thread 2 resumes LeaveCriticalSection(@ecritsect) DLLMain() returns